<%@ page import="com.wuming.caiwu.security.SecurityHander" %>
<%@ page import="java.util.Date" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!Doctype html>
<html>
<%
    long currentTime = new Date().getTime();
%>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title></title>
    <%@include file="/common/common-ico.jsp" %>
    <link rel="stylesheet" href="${allServerPath}static/layui/layui/css/layui.css">
    <link rel="stylesheet" href="${allServerPath}static/layui/css/demo.css">
    <link rel="stylesheet" href="${allServerPath}static/layui/css/icon.css">
    <link rel="stylesheet" href="${allServerPath}static/layui/build/css/app.css?t=<%=currentTime%>">
    <link rel="stylesheet" href="${allServerPath}static/layui/css/style.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin kit-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">
            <%--<img src="${allServerPath}static/images/background/kaixinbaobao.jpg" style="height: 34px;" alt=""/>--%>
        </div>
        <!-- 顶部导航 开始 -->
        <ul class="layui-nav layui-layout-right layui-nav-wuli" lay-filter="kitNavbar" kit-navbar>
            <li class="layui-nav-item wuli-nav-item">
                <a class="" href="javascript:;">
                    <img src="" class="layui-nav-img">
                    <i class="fa fa-plug" aria-hidden="true"></i>
                    <span><%=SecurityHander.getCurrentUserName()%></span>
                    <span>[管理员]</span>
                </a>
                <dl class="layui-nav-child wuli-nav-child">
                    <!--修改密码-->
                    <dd><a href="javascript:;"
                           data-url="${allServerPath}web/member/toModifyPassword/<%=SecurityHander.getCurrentUserId()%>.htmls"
                           data-icon="fa-user" data-title="修改密码"
                           kit-target data-id="8-2">
                        <i class="fa fa-user" aria-hidden="true"></i><span> 修改密码</span></a>
                    </dd>
                    <%--<dd><a href="javascript:synJiaojingData();"><i class="fa fa-user"--%>
                    <%--aria-hidden="true"></i><span>同步122考试数据</span></a>--%>
                    <%--</dd>--%>
                    <!--切换帐号-->
                    <dd><a href="javascript:logout();"><i class="fa fa-user"

                                                          aria-hidden="true"></i><span> 切换帐号</span></a></dd>
                </dl>
            </li>
        </ul>
        <!-- 顶部导航 结束 -->
    </div>
    <div class="layui-side layui-bg-black  kit-side">
        <div class="layui-side-scroll">
            <div class="kit-side-fold"><i class="layui-icon layui-icon-shrink-right"></i></div>
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="kitNavbar" kit-navbar>
                <li class="layui-nav-item">
                    <a class="" href="javascript:;">
                        <%--<i class="icon iconfont wuli-icon-jw"></i>--%>
                        <img src="${allServerPath}static/images/background/xueyuan.png" width="22px"/>
                        <span>店铺管理</span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'store/manageQsgStore.htmls',icon:'',title:'门店管理',id:'1-1'}">
                                <span>门店管理</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'sysuser/manageSysUser.htmls',icon:'',title:'授权管理',id:'1-2'}">
                                <span>授权管理</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'join/manageJoin.htmls',icon:'',title:'合作信息管理',id:'1-3'}">
                                <span>合作信息管理</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'teachassistant/manageTeachingAssistant.htmls',icon:'',title:'助教管理',id:'1-4'}">
                                <span>助教管理</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'banner/manageBanner.htmls',icon:'',title:'导航管理',id:'1-5'}">
                                <span>导航管理</span>
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="" href="javascript:;">
                        <%--<i class="icon iconfont wuli-icon-jw"></i>--%>
                        <img src="${allServerPath}static/images/background/xueyuan.png" width="22px"/>
                        <span>套餐管理</span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'meal/manageQsgMeal.htmls',icon:'',title:'套餐管理',id:'2-1'}">
                                <span>套餐管理</span>
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="" href="javascript:;">
                        <%--<i class="icon iconfont wuli-icon-jw"></i>--%>
                        <img src="${allServerPath}static/images/background/xueyuan.png" width="22px"/>
                        <span>订单管理</span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'order/manageOrder.htmls?payType=0',icon:'',title:'普通订单',id:'3-1'}">
                                <span>普通订单</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'order/manageOrder.htmls?payType=1',icon:'',title:'余额订单',id:'3-2'}">
                                <span>余额订单</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'order/manageOrder.htmls?payType=2',icon:'',title:'团购/优惠券订单',id:'3-3'}">
                                <span>团购/优惠券订单</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'rechargeorder/manageRechargeOrder.htmls',icon:'',title:'充值订单',id:'3-4'}">
                                <span>充值订单</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'hexiao/manageHexiaoOrder.htmls',icon:'',title:'核销记录',id:'3-5'}">
                                <span>核销记录</span>
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="" href="javascript:;">
                        <%--<i class="icon iconfont wuli-icon-jw"></i>--%>
                        <img src="${allServerPath}static/images/background/xueyuan.png" width="22px"/>
                        <span>财务管理</span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'finance/manageFinanceReport.htmls',icon:'',title:'财务对账',id:'4-1'}">
                                <span>财务对账</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'sharingdetail/manageSharingDetail.htmls',icon:'',title:'分账明细',id:'4-2'}">
                                <span>分账明细</span>
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="" href="javascript:;">
                        <%--<i class="icon iconfont wuli-icon-jw"></i>--%>
                        <img src="${allServerPath}static/images/background/xueyuan.png" width="22px"/>
                        <span>顾客经营</span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'memberstore/manageMemberStore.htmls',icon:'',title:'会员管理',id:'5-1'}">
                                <span>会员管理</span>
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="" href="javascript:;">
                        <%--<i class="icon iconfont wuli-icon-jw"></i>--%>
                        <img src="${allServerPath}static/images/background/xueyuan.png" width="22px"/>
                        <span>营销管理</span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'store/manageQsgMeal.htmls',icon:'',title:'店铺主页活动',id:'6-1'}">
                                <span>店铺主页活动</span>
                            </a>
                        </dd>
                        <dd>
                            <a href="javascript:;" kit-target
                               data-options="{url:'store/manageQsgMeal.htmls',icon:'',title:'优惠券',id:'6-2'}">
                                <span>优惠券</span>
                            </a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <div class="layui-body" id="container"></div>

    <!-- 底部版权 开始 -->
    <div class="layui-footer">
        <p>© 版权声明</p>
    </div>
    <!-- 底部版权 结束 -->

</div>

<script src="${allServerPath}static/layui/layui/layui.js"></script>
<script src="${allServerPath}static/js/common.js"></script>
<script src="${allServerPath}static/js/jquery-2.1.4.min.js" charset="utf-8"></script>
<script src="${allServerPath}static/js/main/main.js"></script>
<script>
</script>
</body>
</html>